﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OFB.Domain;

namespace OFB.BLL.Repository
{
    public interface IFunnyStoryBLL
    {
        ICollection<FunnyStory> FindAll(int startRow, int maxRow, out int totalRow);
        ICollection<FunnyStory> Filter(int startRow, int maxRow, out int totalRow,
                        string funnyStoryName = null, int? storyId = null, int? searchString = null);
        FunnyStory Find(int StoryId);
        int FunnyStoryCreate(string Title, string Content, bool IsDisabled);
        int FunnyStoryUpdate(int StoryId, string Title, string Content, bool IsDisabled);
        void FunnyStoryDisabled(int StoryId);
    }
}
